package cn.com.enums;

/**
 * 语言
 *
 * @author LiuGuodong
 * @date 2024/04/12
 */
public enum LanguageEnum {
    // 以下是讯飞翻译API支持的语言
    CHINESE("cn", "中文"),
    ENGLISH("en", "英语"),
    CZECH("cs", "捷克语"),
    HAUSA("ha", "豪萨语"),
    JAPANESE("ja", "日语"),
    ROMANIAN("ro", "罗马尼亚语"),
    HUNGARIAN("hu", "匈牙利语"),
    KOREAN("ko", "韩语"),
    SWEDISH("sv", "瑞典语"),
    SWAHILI("sw", "斯瓦希里语"),
    THAI("th", "泰语"),
    DUTCH("nl", "荷兰语"),
    UZBEK("uz", "乌兹别克语"),
    RUSSIAN("ru", "俄语"),
    POLISH("pl", "波兰语"),
    ZULU("zu", "祖鲁语"),
    BULGARIAN("bg", "保加利亚语"),
    ARABIC("ar", "阿拉伯语"),
    GREEK("el", "希腊语"),
    UKRAINIAN("uk", "乌克兰语"),
    PERSIAN("fa", "波斯语"),
    HEBREW("he", "希伯来语"),
    VIETNAMESE("vi", "越南语"),
    PASHTO("ps", "普什图语"),
    ARMENIAN("hy", "亚美尼亚语"),
    MALAY("ms", "马来语"),
    URDU("ur", "乌尔都语"),
    GEORGIAN("ka", "格鲁吉亚语"),
    INDONESIAN("id", "印尼语"),
    HINDI("hi", "印地语"),
    CANTONESE("yue", "广东话"),
    FILIPINO("tl", "菲律宾语"),
    BENGALI("bn", "孟加拉语"),
    YI("ii", "彝语"),
    GERMAN("de", "德语"),
    MONGOLIAN("nm", "外蒙语"),
    ZHUANG("zua", "壮语"),
    SPANISH("es", "西班牙语"),
    KAZAKH("kk", "外哈语"),
    MONGOL("mn", "内蒙语"),
    FRENCH("fr", "法语"),
    TURKISH("tr", "土耳其语"),
    KAZAKHSTANI("kka", "内哈萨克语"),
    // 以下是百度翻译API支持的语言
    AUTO("auto", "自动检测"),
    ZH("zh", "中文"),
    EN("en", "英语"),
    YUE("yue", "粤语"),
    JP("jp", "日语"),
    KOR("kor", "韩语"),
    FRA("fra", "法语"),
    SPA("spa", "西班牙语"),
    TH("th", "泰语"),
    ARA("ara", "阿拉伯语"),
    RU("ru", "俄语"),
    PT("pt", "葡萄牙语"),
    DE("de", "德语"),
    IT("it", "意大利语"),
    EL("el", "希腊语"),
    NL("nl", "荷兰语"),
    PL("pl", "波兰语"),
    BUL("bul", "保加利亚语"),
    EST("est", "爱沙尼亚语"),
    DAN("dan", "丹麦语"),
    FIN("fin", "芬兰语"),
    CS("cs", "捷克语"),
    ROM("rom", "罗马尼亚语"),
    SLO("slo", "斯洛文尼亚语"),
    SWE("swe", "瑞典语"),
    HU("hu", "匈牙利语"),
    CHT("cht", "繁体中文"),
    VIE("vie", "越南语");

    private String code;
    private String name;


    LanguageEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

}
